Skip to content

[OGUI-1902] Add abort listener on query endpoint with signal to query service to drop DB connection if so#3483

Open
graduta wants to merge 8 commits into
devfrom
feature/ILG/OGUI-1902/add-abort-listener-on-query-endpoint
Open

[OGUI-1902] Add abort listener on query endpoint with signal to query service to drop DB connection if so#3483
graduta wants to merge 8 commits into
devfrom
feature/ILG/OGUI-1902/add-abort-listener-on-query-endpoint

Conversation

@graduta
Copy link
Copy Markdown
Member

@graduta graduta commented May 29, 2026

I have JIRA issue created

  • branch and/or PR name(s) includes JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected
  • FLP integration tests were ran successful

PR which:

  • adds listeners on the response (close, finish) events together with an abort controller so that the server can stop any ongoing queries if client cancells the request
  • move towards using pool.connection instead of pool.query so that we can drop the connection in case of signal being aborted.
  • add cancellation methods with AbortError classs
  • attempt to improve stability of test on front-end

@graduta graduta requested a review from isaachilly May 29, 2026 12:45
@graduta graduta self-assigned this May 29, 2026
@graduta graduta changed the title [OGUI 1902] Add abort listener on query endpoint with signal to query service to drop DB connection if so [OGUI-1902] Add abort listener on query endpoint with signal to query service to drop DB connection if so May 29, 2026
Base automatically changed from feature/ILG/OGUI-1298/add-button-to-cance-query-request to dev June 2, 2026 13:44
@graduta graduta force-pushed the feature/ILG/OGUI-1902/add-abort-listener-on-query-endpoint branch from be9297d to 1b3f59a Compare June 2, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant